package com.pingan.haofang.searchcloud.monitor.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 集群信息返回结果dto
 * 
 * @author EX-LIUXIANWEN001
 * @date 2018/10/25
 * @since 1.0.0
 */
@ApiModel("搜索云硬件视图信息")
public class DashboardResourceInfoResultDTO {

    /*
     * 日期
     */
    @ApiModelProperty("采集日期")
    private String date;

    /**
     * 集群名称
     */
    @ApiModelProperty("集群名称")
    private String clusterName;

    /**
     * 节点总数
     */
    @ApiModelProperty("节点总数")
    private Integer nodeNum;

    /**
     * 健康节点数
     */
    @ApiModelProperty("健康节点数")
    private Integer healthNum;

    /**
     * 健康率
     */
    @ApiModelProperty("健康率")
    private double healthRate;

    /*
     * 集群对应的节点信息
     */
    @ApiModelProperty("集群对应的节点信息")
    private List<DiskConditonDTO> diskConditonDTOList;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getClusterName() {
        return clusterName;
    }

    public void setClusterName(String clusterName) {
        this.clusterName = clusterName;
    }

    public Integer getNodeNum() {
        return nodeNum;
    }

    public void setNodeNum(Integer nodeNum) {
        this.nodeNum = nodeNum;
    }

    public Integer getHealthNum() {
        return healthNum;
    }

    public void setHealthNum(Integer healthNum) {
        this.healthNum = healthNum;
    }

    public double getHealthRate() {
        return healthRate;
    }

    public void setHealthRate(double healthRate) {
        this.healthRate = healthRate;
    }

    public List<DiskConditonDTO> getDiskConditonDTOList() {
        return diskConditonDTOList;
    }

    public void setDiskConditonDTOList(List<DiskConditonDTO> diskConditonDTOList) {
        this.diskConditonDTOList = diskConditonDTOList;
    }
}
